package composite;

/**
 * @program: DesignModeProject
 * @description: 系（最小的叶子节点）
 * @author: Li canzhang
 * @create: 2022-05-29 21:51
 **/
public class Department extends OrganizationComponent{

    public Department(String name, String des) {
        super(name, des);
    }

    @Override
    protected void print() {
        System.out.println(getName());
    }
}
